<?php
	require_once('person.php');
	require_once('employee.php');
/*	function __autoload($class_name)
	{
		include_once($class_name.".php");
	}
	$p = new person("Satya");
	$p->setFname("JN Shukla");
	$name=$p->getName();
	$fname=$p->getFname();
	$p->setDOB(1977,9,24);
	$dob=$p->getDOB();
	$m=$p->getMdob();
	print "$name<br>";
	print "$fname<br>";
	print "$m";*/
	$e=new employee('satya');
	$name=$e->getName();
	$empid=$e->getEmpId();
	print "$name<br>";
	if($e->isAvailable())
	{
		print "$empid<br>";
	}
	else
	{
		print "Not Available";
	}
?>

